package com.rc.saas.mini.service.elec;

import com.rc.saas.mini.common.base.BaseService;
import com.rc.saas.mini.mapper.elec.ElecGunMapper;
import com.rc.saas.mini.model.elec.ElecGun;
import com.rc.saas.mini.model.elec.ElecGunExample;
import com.rc.saas.mini.model.elec.ElecPile;

import java.util.List;

/**
 * @author wangzhengwei
 * @create 2021/12/18
 */
public interface ElecGunService extends BaseService<Long, ElecGun, ElecGunExample, ElecGunMapper> {
    ElecGun selectByQrCode(String qrCode);

    ElecGun selectByGunNo(String qrCode);

    ElecGun selectGunByGunNo(String gunNo);

    List<ElecGun> listGunByStationId(Long elecStationId);

    ElecGun validGun(ElecPile pile, String gunNum);
}
